package com.lanchetech.dao;

import com.lanchetech.entity.GiveMemberRecord;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface GiveMemberRecordMapper {
    int deleteByPrimaryKey(Long id);

    int insert(GiveMemberRecord record);

    int insertSelective(GiveMemberRecord record);

    GiveMemberRecord selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(GiveMemberRecord record);

    int updateByPrimaryKey(GiveMemberRecord record);

    int updateBatch(List<GiveMemberRecord> list);

    int batchInsert(@Param("list") List<GiveMemberRecord> list);

    GiveMemberRecord findOneByOrderSkuId(@Param("orderSkuId")Long orderSkuId);
}